package com.lzs.chuku.feign;

import com.lzs.util.R;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 小刘先生
 * @date 2020/12/8 20:01
 */
@FeignClient(value = "system-service")
public interface SystemFeign {
    @GetMapping("/system/user/findByUserId/{userId}")
    @ApiOperation(value = "修改时回显数据")
    public R findByUserId(@PathVariable Long userId);
}
